package com.lovo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients //开启feign调用
@EnableHystrix //开启熔断
public class TwoMain {
    public static void main(String[] args) {
        SpringApplication.run(TwoMain.class,args);
    }
}
